<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org/">
<head>
    <meta charset="UTF-8">
    <title>article 详情</title>
</head>
<body>

<!--自行发挥展示 article 的 title、content、commentList 等内容-->

<form method="get" th:action="@{'/article/findById'}">
    <!--th:action 相当于 action-->
</form>
<table cellspacing="1">
    <thead>
    <tr>
        <th>id</th>
        <th>内容</th>
        <th>评论者</th>
    </tr>
    </thead>
    <tbody th:each="article:${article}">
    <tr>
        <td th:text="${article.id}"></td>
        <td th:text="${article.author}"></td>
        <td th:text="${article.content}"></td>
    </tr>
    </tbody>
</table>
</body>


</html>